/* 
 * File:   labelled_text_edit.cpp
 * Author: jolo
 * 
 * Created on: 13. Oktober 2011, 16:53
 * Lincense: New BSD License (The BSD 2-Clause License)
 */

#include "labelled_text_edit.hpp"

#include "field_label.hpp"
#include "text_edit.hpp"
#include "widget_panel.hpp"

namespace widgets
{

    labelled_text_edit::labelled_text_edit(widget_panel* p, const QString& lbl)
    : text_edit(p)
    {
        lbl_ = new field_label(p, lbl);
        lbl_->setBuddy(this);
        p->add(this);
    }

    labelled_text_edit::~labelled_text_edit()
    {
    }

}